package com.jingdianjichi.subject.domin.convert;

import com.jingdianjichi.subject.domin.entity.SubjectInfoBO;
import com.jingdianjichi.subject.infra.basic.entity.SubjectInfo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;


/**
 * @author 86156
 * @version 1.0
 * @date 2024-10-02 11:08
 */
@Mapper
public interface SubjectInfoConverter {

    SubjectInfoConverter instance = Mappers.getMapper(SubjectInfoConverter.class);

    SubjectInfo convertBoToInfo(SubjectInfoBO subjectInfoBO);

    SubjectInfoBO convertInfoToBO(SubjectInfo subjectInfo);

    List<SubjectInfoBO> convertInfoListToBOList(List<SubjectInfo> subjectInfos);
}

